package ink.chow.jdbc.sharding;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@MapperScan("ink.chow.jdbc.sharding.mapper")
@EnableSwagger2
public class ApplicationSharding {
	
    public static void main( String[] args ){
        SpringApplication.run(ApplicationSharding.class, args);
    }
}
